<%@ page contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" isELIgnored="false"%>
<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>	
	<h3>Cadastrar Conta IOF</h3>
	<hr/>
	<form action="cadastrarIOF?acao=ContaIOF" method="post" id="formulario">
		<table align="center">
			<tbody>
				<tr>
					<td class="label"><label>Empresa</label></td>
					<td>
						<select name="cnpjEmpresa">
							<option></option>						
						<c:forEach var="cliente" items="${clientes}">				
							<option value="${cliente.cnpj}"><c:out value="${cliente.nome}"/></option>
						</c:forEach>
						</select>
					</td>
				</tr>
				<tr>
					<td class="label"><label>Credor</label></td>
					<td><input class="peq" type="text" id="nomeCredor" name="nomeCredor" /></td>
				</tr>
				<tr>
					<td class="label"><label>Saldo</label></td>
					<td><input class="peq" type="text" id="saldo" name="saldo" readonly="readonly" value="0.00"/></td>
				</tr>		
				<tr>
					<td class="label"><label>Taxa</label></td>
					<td><input class="peq" type="text" id="taxa" name="taxa" readonly="readonly" value="0.0041" /></td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>
					<td>&nbsp;</td>					
				</tr>				
				<tr>
					<td colspan="4" align="center">
						<input class="button" type="reset" id="limpar" name="limpar" value="Limpar"/>
						<input class="button" type="submit" id="gravar" name="gravar" value="Gravar"/>					
					</td>
				</tr>	
			</tbody>
		</table>
	</form>
</body>
</html>